import Vue from 'vue'
import Router from 'vue-router'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: (resolve) => require(['@/pages/home'], resolve),
    },
    {
      path: '/home',
      name: 'login',
      component: (resolve) => require(['@/pages/login'], resolve),
    }
  ]
})
